package me.hellp.helloworld.design.iterator;

/**
 * 容器角色(Aggregate)中可以执行的操作
 * 
 * @author linxm
 *
 */
public interface MyAggregate {
	public void add(Object obj); 
	
	public Object get(int index);
	
	public MyIterator iterator();  
	
	public int getSize();
}
